import request from '@/utils/request'
export default{
    findDepTree(hoscode){
        return request({
            url:`admin/hosp/department/findDepartmentTree/${hoscode}`,
            method:'get'
        })
    },
    getScheduleRule(page,limit,hoscode,depcode){
        return request({
            url:`admin/hosp/schedule/findScheduleRule/${page}/${limit}/${hoscode}/${depcode}`,
            method:'get'
        })
    },
    getScheduleDetails(hoscode,depcode,workDate){
        return request({
            url:`admin/hosp/schedule/findScheduleDetails/${hoscode}/${depcode}/${workDate}`,
            method:'get'
        })
    }
}